package com.youhome.service.service.impl;

import com.youhome.service.mapper.HJSchoolMapper;
import com.youhome.service.model.HJSchool;
import com.youhome.service.service.HJSchoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by chen365 on 2018/07/10.
 */
@Service
public class HJSchoolServiceImpl implements HJSchoolService {
    @Autowired
    private HJSchoolMapper hjSchoolMapper;

    @Override
    public HJSchool selectByPrimaryKey(String id) {
        return hjSchoolMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<HJSchool> selectByZip(String zip) {
        return hjSchoolMapper.selectByZip(zip);
    }
}
